Skip to content

fix(maintainer): rename dispatch mode upgrade-only → upgrade#37

Merged
ianlintner merged 1 commit intomainfrom
fix/maintainer-mode-upgrade
Apr 20, 2026
Merged

fix(maintainer): rename dispatch mode upgrade-only → upgrade#37
ianlintner merged 1 commit intomainfrom
fix/maintainer-mode-upgrade

Conversation

@ianlintner
Copy link
Copy Markdown
Owner

Caretaker's RunMode enum defines the upgrade mode value as "upgrade":

class RunMode(StrEnum):
    ...
    UPGRADE_ONLY = "upgrade"

This repo's maintainer.yml still advertises upgrade-only in the workflow_dispatch input's choice options, so a manual dispatch with that value passes a mode string caretaker doesn't accept (CLI exits with an invalid-enum error, which self-heal then files as an issue).

Fix: rename to upgrade so the dropdown stays in sync with the enum.

Upstream template fix: ianlintner/caretaker#423

🤖 Generated with Claude Code

@ianlintner ianlintner merged commit 0fb5a4f into main Apr 20, 2026
7 of 10 checks passed
@ianlintner ianlintner deleted the fix/maintainer-mode-upgrade branch April 20, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant